﻿namespace StudentGrade
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入学生成绩：");
            int score = int.Parse(Console.ReadLine());
            char grade;

            if (score >= 90)
            {
                grade = 'A';
            }
            else if (score >= 60)
            {
                grade = 'B';
            }
            else
            {
                grade = 'C';
            }

            Console.WriteLine($"成绩等级：{grade}");
            Console.ReadLine();
        }
    }
}